mw.loader.store:
* Turn url into a link.
mediawiki.language:
* Turn url into a link.
* Fix whitespace.
mediawiki.Title:
* Fix broken <pre> rendering.
mediawiki.Uri:
* Add protocol to url, otherwise <> won't link it.
* Remove bogus dependency listing.
* Turn url into a link.
Change-Id: Ie8e2d1869843bcf594763250c7a9bf94bf874298
*
* Example: Fill the string to length 10 with '+' characters on the right.
*
*
* Example: Fill the string to length 10 with '+' characters on the right.
*
- * pad('blah', 10, '+', true); // => 'blah++++++'
+ * pad( 'blah', 10, '+', true ); // => 'blah++++++'
*
* @private
* @param {string} text The string to pad
*
* @private
* @param {string} text The string to pad
* consideration to local customs.
*
* Adapted from dojo/number library with thanks
* consideration to local customs.
*
* Adapted from dojo/number library with thanks
- * http://dojotoolkit.org/reference-guide/1.8/dojo/number.html
+ * <http://dojotoolkit.org/reference-guide/1.8/dojo/number.html>
*
* @private
* @param {number} value the number to be formatted, ignores sign
*
* @private
* @param {number} value the number to be formatted, ignores sign
/**
* Example to declare existing titles:
/**
* Example to declare existing titles:
* Title.exist.set( ['User:John_Doe', ...] );
* Title.exist.set( ['User:John_Doe', ...] );
- * Eample to declare titles nonexistent:
+ *
+ * Example to declare titles nonexistent:
+ *
* Title.exist.set( ['File:Foo_bar.jpg', ...], false );
*
* @static
* Title.exist.set( ['File:Foo_bar.jpg', ...], false );
*
* @static
- * Library for simple URI parsing and manipulation. Dependencies: mw, jQuery.
+ * Library for simple URI parsing and manipulation.
*
* Intended to be minimal, but featureful; do not expect full RFC 3986 compliance. The use cases we
* have in mind are constructing 'next page' or 'previous page' URLs, detecting whether we need to
*
* Intended to be minimal, but featureful; do not expect full RFC 3986 compliance. The use cases we
* have in mind are constructing 'next page' or 'previous page' URLs, detecting whether we need to
* (N.b., 'password' is technically not allowed for HTTP URIs, but it is possible with other kinds
* of URIs.)
*
* (N.b., 'password' is technically not allowed for HTTP URIs, but it is possible with other kinds
* of URIs.)
*
- * Parsing based on parseUri 1.2.2 (c) Steven Levithan <stevenlevithan.com>, MIT License.
- * http://stevenlevithan.com/demo/parseuri/js/
+ * Parsing based on parseUri 1.2.2 (c) Steven Levithan <http://stevenlevithan.com>, MIT License.
+ * <http://stevenlevithan.com/demo/parseuri/js/>
* The try / catch block is used for JSON & localStorage feature detection.
* See the in-line documentation for Modernizr's localStorage feature detection
* code for a full account of why we need a try / catch:
* The try / catch block is used for JSON & localStorage feature detection.
* See the in-line documentation for Modernizr's localStorage feature detection
* code for a full account of why we need a try / catch:
- * https://github.com/Modernizr/Modernizr/blob/v2.7.1/modernizr.js#L771-L796
+ * <https://github.com/Modernizr/Modernizr/blob/v2.7.1/modernizr.js#L771-L796>.
*/
init: function () {
var raw, data;
*/
init: function () {
var raw, data;